Promise.resolve().then(() => {
    return new Error('error!!!')
}).then(res => {
console.log("then: ", res)
}).catch(err => {
console.log("catch: ", err)
})
  
// catch: error!!!

